![]() |
PATH![]() |
![]() ![]() |
You can use these constants in the defaultButton and cancelButton fields in the standard alert structure AlertStdAlertParamRec to specify which buttons act as the default and Cancel buttons in the standard alert structure. These constants are also returned in the itemHit parameter of StandardAlert . Alert button constants are available with Appearance Manager 1.0 and later.
enum {
kAlertStdAlertOKButton = 1,
kAlertStdAlertCancelButton = 2,
kAlertStdAlertOtherButton = 3,
kAlertStdAlertHelpButton = 4
};
Previous | Back Up One Level | Next |